getControlsListItemEvent()

function getControlsListItemEvent() {
    let ulControlsList = document.getElementById("ul_controls_list");
    let controlItems = ulControlsList.getElementsByTagName("li");
    for (let i=0;i<controlItems.length;i++){
        controlItems[i].onclick = function () {
            let controlItem = $(this)
            let selectedIndex = 0;
            for (let j=0;j<controlItems.length;j++) {
                // 清除所有选择选项
                $(controlItems[j]).removeClass("ui_li_selected")
                // 获取选择的index
                if ($(controlItems[j]) === controlItem){
                    selectedIndex = j;
                }
            }
            // 给当前选择的项目添加选择类
            controlItem.addClass("ui_li_selected")
            // 判断index
            if (selectedIndex === 0){
                // 0: 用户管理

            }
        }
    }
}